EXERCISE 1: The code that creates this drawing is inefficient. We wrote the exact same commands NINE times!
- Refactor the code so that it uses a for loop to draw the star.
Remember, your code should draw the exact same star. You should delete or comment out the original code.
To navigate the page using the TAB key, first press ESC to exit the code editor.